<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        .apple {
            width: 100%;
            height: 100%;
            background-color: rgb(242, 222, 186);
        }

        .one {
            display: flex;
            justify-content: space-between;
        }

        .title,
        .tast {
            line-height: 40px;
            font-weight: bold;
            padding: 0 10px;


        }

        .list .item {
            display: flex;
            justify-content: space-around;
            align-items: center;
            margin: 20px;

        }

        .list .item img {
            width: 80px;

        }

        .list {
            width: 96%;
            margin-left: 2%;
            border-radius: 10px;
            background-color: rgb(252, 250, 247);
        }
        .reght{
            display: flex;
        }
        .reght div{
            margin-left: 10px;
        }
        .two {
            width: 20px;
            height: 20px;
            border: 1px solid rgb(0, 149, 255);
            border-radius: 50%;
            text-align: center;
        }
        .two1 {
            width: 20px;
            height: 20px;
            background-color:  rgb(0, 149, 255);
            border-radius: 50%;
            text-align: center;
            color: #fff;
        }
    </style>
</head>

<body>
    <div id="app">
        <div class="one">
            <div class="title">已选商品</div>
            <div class="tast">清空</div>
        </div>
        <div class="list">
            <div class="item" v-for="(item,index) in tasklist" v-bind:key="index">
                <div class="left">
                    <img v-bind:src="item.pic" alt="">
                </div>
                <div class="middle">
                    <div class="name">{{item.name}}</div>
                    <div class="desc">￥{{item.desc}}</div>
                    <div class="desc">￥{{item.san}}</div>
                </div>
                <div class="reght">
                    <div class="two">-</div>
                    <div>{{item.status}}</div>
                    <div class="two1">+</div>
                </div>
            </div>
        </div>
    </div>


</body>

</html>
<script src="./vue-2.5.21.js"></script>
<script>
    var v = new Vue({
        el: '#app',
        data: {
            tasklist: [
                { id: 1, pic: './1.jpg', name: '秋刀鱼/斤', desc: '35.00', san: '35', status: 1 },
                { id: 2, pic: './2.jpg', name: '鲜大带鱼/条', desc: '45.00', san: '45', status: 1 },
                { id: 3, pic: './3.jpg', name: '鲜活全母皮皮虾/条', desc: '85.00', san: '85', status: 1 },
                { id: 4, pic: './4.jpg', name: '13-15头鲍鱼/只', desc: '160.00', san: '160', status: 1 }
            ]
        }
    })
</script>